home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / Tetris Light 1.0 / source / local.h < prev    next >
Text File  |  1993-07-18  |  2KB  |  47 lines

  1. /******************************************************************************\
  2.  
  3. File:        local.h
  4.  
  5. Purpose:    This file is the bond between all source files of the program.  
  6.             It is included in each .c file at the very beginning.
  7.             This file contains some common useful definitions, and may 
  8.             contain global preprocessor symbols.
  9.  
  10.             
  11.  
  12. ``Tetris Light'' - a simple implementation of a Tetris game.
  13. Copyright (C) 1993 Hoylen Sue
  14.  
  15. This program is free software; you can redistribute it and/or modify
  16. it under the terms of the GNU General Public License as published by
  17. the Free Software Foundation; either version 2 of the License, or
  18. (at your option) any later version.
  19.  
  20. This program is distributed in the hope that it will be useful,
  21. but WITHOUT ANY WARRANTY; without even the implied warranty of
  22. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  23. GNU General Public License for more details.
  24.  
  25. You should have received a copy of the GNU General Public License
  26. along with this program; see the file COPYING.  If not, write to the
  27. Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  28.  
  29. \******************************************************************************/
  30.  
  31. #ifndef local_H
  32. #define local_H
  33.  
  34. /*--------------------------------------------------------------------*/
  35.  
  36. #define MAXSHORT    32767
  37.  
  38. #define NIL        ((void *) 0)
  39.  
  40. /*--------------------------------------------------------------------*/
  41.  
  42. typedef short INTEGER;
  43. typedef long  LONGINT;
  44.  
  45. /*--------------------------------------------------------------------*/
  46.  
  47. #endif